<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div id="tabs">
    <ul>
        <li><a href="#tab1">Reportes Cuenta Corriente</a></li>
    </ul>
    <div id="listrep" style="font-size: 11px; margin: 5px; height:100%">
        <form method="post" action="<?php echo CORE_PATH; ?>" id="reportes" name="reportes" >
            <input id="module" name="module" value="<?php echo $this->instanceName; ?>" type="hidden"/>
            <input type="hidden" name="report" id="report" />

            <?php foreach ($this->reports as $k => $v) { ?>
                <div class="report">
                    <a title="<?php echo $k; ?>" href="javascript:;"><img title="<?php echo $k; ?>" src="img/reportpic.png" width="32" height="32" alt="report" longdesc="http://www.easoftware.net" /> 
                        <h5><?php echo $v->label; ?></h5></a>
                </div>
            <?php } ?>
        </form>
    </div>
    <script type="text/javascript">
        $("#listrep a").click(function(){
            $("#report").val($(this).attr("title"));
            $("#reportes").submit();		
        });

        $("#tabs").tabs();
    </script>        
</div>

